## 基础镜像java
FROM ascdc/jdk8/ping:latest
## 作者
MAINTAINER exthirteen
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone
ENV LANG C.UTF-8
## 文件别名
ADD wechat-java-proxy-api-1.0.jar application.jar
## 端口号
EXPOSE 17315
## 容器启动之后执行的命令，java -jar application.jar
ENTRYPOINT ["java","-Xms256M","-Xmx512M","-jar","application.jar","--spring.profiles.active=prod"]
